package com.sun.config;

import cn.hutool.core.date.DateUtil;
import org.junit.Test;

import java.util.HashMap;
import java.util.Map;

public class TestDemo {

    @Test
    public void A() {
        int a = 1;
        Map map = new HashMap();
        map.put("k1","v1");

        System.out.println(a);
        System.out.println(map);
        B(a,map);
    }

    public void B(int a,Map map) {
        map.put("k1","v2");
        a = 2;
        System.out.println(a);
        System.out.println(map);
    }

    @Test
    public void demo1(){
        String hold2 = "2022-11-28 00:00:00";
        System.out.println(DateUtil.parse(hold2));
        System.out.println();
    }
}
